package com.haifeng.jupiter.common.core.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

/**
 * <p>
 *  系统配置
 * </p>
 *
 * @author: Haifeng
 * @date: 2020-08-09
 */
@Data
@ConfigurationProperties(prefix = "jupiter.core.system")
public class SystemProperties implements Serializable {

    /**
     * 数据中心id
     */
    private Long datacenterId = 1L;

    /**
     * 机器id
     */
    private Long workerId = 1L;
}
